[Unit]
Description=Goodrain Rainbond node
After=network.target

[Service]
Type=simple
User=root
LimitCORE=infinity
LimitNOFILE=102400
LimitNPROC=102400
EnvironmentFile=-{{ rbd_dir }}/envs/node.sh
PermissionsStartOnly=true
ExecStart={{ rbd_dir }}/scripts/start-node.sh
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target